package com.dhu719.label_end.service;

import com.dhu719.label_end.domain.Image_info;
import com.dhu719.label_end.mapper.ImageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ImageService {
    @Autowired
    private ImageMapper imageMapper;

    public String insert(Image_info image_info){
        try {
            imageMapper.insert(image_info);
            return "success";
        }
        catch (Exception e){
            e.printStackTrace();
            return "false";
        }
    }
}
